package com.atguigu.orders.service;

import com.atguigu.yygh.model.order.OrderInfo;
import com.atguigu.yygh.model.order.PaymentInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

public interface PaymentService  extends IService<PaymentInfo> {
    void savePaymentInfo(OrderInfo order, Integer paymentType);

    PaymentInfo getPaymentInfo(Long orderId, Integer paymentType);

    void paySuccess(String out_trade_no, Integer status, Map<String, String> resultMap);
}
